local BB = LibStub("LibDataBroker-1.1"):NewDataObject("Broker_Bagnon", {
	type = "launcher",
	icon = "Interface\\Icons\\INV_Misc_Bag_10_Blue",
	label = "Broker_Bagnon",
	OnTooltipShow = function(tip)
		tip:AddLine("Broker: Bagnon")
		tip:AddLine("Left-Click: toggle bank")
		tip:AddLine("Right-Click: toggle bags")
		tip:AddLine("Middle-Click: toggle keyring")
	end,
	OnClick = function(self, button)
		if (button == "LeftButton") then
			Bagnon:ToggleFrame('bank')
		elseif (button == "RightButton") then
			Bagnon:ToggleFrame('inventory')
		elseif (button == "MiddleButton") then
			Bagnon:ToggleFrame('keys')
		end
	end,
})
